import generateApiFn from '../generateApiFn'
const _module = '/approveProcess'
const commonOption = {}
// 审批设置
const apiUrlObj = {
  createFlow: commonOption, // 新建审批流分支
  update: commonOption, // 审批流信息编辑
  getInfo: commonOption, // 审批流详情
  getList: commonOption, // 审批流设置列表
  updateFlowName: commonOption, // 审批流分支名称编辑
  createFlowNode: commonOption, // 添加审批节点卡片
  deleteFlowNode: commonOption, // 删除审批节点卡片
  confirmFlow: commonOption, // 确认审批分支
  updateFlowNode: commonOption, // 编辑审批节点卡片
  getFlowInfo: commonOption, // 审批流分支信息
  updateStatus: commonOption, // 审批流开启设置
  deleteFlow: commonOption // 删除审批流分支
}

const approveProcessApis = generateApiFn(_module, apiUrlObj)
export default approveProcessApis
